/* 客户对应账户 配置时动作属性值CommonDialogInput|payAccountName*/
const userInfo = JSON.parse(sessionStorage.getItem('crm3-userinfo'))||{}
export default {
	dialogType: 'LIST', //'LIST|TREE',
	dialogContent: {
		tableForm: {
			data: {
				acctNumber: "",
				acctName: "",
			},
			items: [{
					field: "acctNumber",
					title: "账户编码",
					itemRender: {
						name: "$input",
						props: {
							placeholder: "请输入"
						}
					},
				},
				{
					field: "acctName",
					title: "账户名称",
					itemRender: {
						name: "$input",
						props: {
							placeholder: "请输入"
						}
					},
				},
				{
					itemRender: {
						name: "$button",
						props: {
							content: "查询",
							type: "submit",
							status: "primary"
						},
					},
				},
			],
		},
		tableColumn: [{
				field: "acctNumber",
				title: "账户编码",
				width: "20%"
			},
			{
				field: "acctName",
				title: "账户名称",
				width: "20%"
			},
		],
		tableData: [],
		submitKey: 'accountId', //回传字段
		showKey: 'acctName', //显示字段
		contentRequest: {
			url: `${process.env.VUE_APP_CTX_ORDER_QUERY}/executeSql`,
			paramsType: 'string',
			defaultParams: {
				interFaceType: "CUST",
				sqlId: 2021042902,
				paramStr: ""
			},
			jsonParams: {
				custId: '',
				acctNumber: '',
				acctName: '',
			},
			formKeyValues: [{
				join: 'jsonParams', //'defaultParams|jsonParams' 该formkey对应的值放在jsonParams中属性上还是defaultParams中
				paramName: 'custId', //付给参数的名称
				formKey: '20176-100010096', //form的key
				keyName: '付费客户/付费运营商' //formdata中该key值对应的属性名称 作提示用

				 
			}]
		},
	}

}